(global.webpackJsonp = global.webpackJsonp || []).push([ [ "course/course/lecturer" ], {
    "15d9": function(t, e, r) {
        r.r(e);
        var n = r("486e"), i = r("162b");
        for (var o in i) "default" !== o && function(t) {
            r.d(e, t, function() {
                return i[t];
            });
        }(o);
        r("91b1");
        var a = r("f0c5"), u = Object(a.a)(i.default, n.b, n.c, !1, null, "22c8afe2", null, !1, n.a, void 0);
        e.default = u.exports;
    },
    "162b": function(t, e, r) {
        r.r(e);
        var n = r("774e"), i = r.n(n);
        for (var o in n) "default" !== o && function(t) {
            r.d(e, t, function() {
                return n[t];
            });
        }(o);
        e.default = i.a;
    },
    "37fa": function(t, e, r) {
        (function(t) {
            r("1067"), n(r("66fd"));
            var e = n(r("15d9"));
            function n(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = r, t(e.default);
        }).call(this, r("543d").createPage);
    },
    "486e": function(t, e, r) {
        r.d(e, "b", function() {
            return i;
        }), r.d(e, "c", function() {
            return o;
        }), r.d(e, "a", function() {
            return n;
        });
        var n = {
            courseList: function() {
                return Promise.all([ r.e("common/vendor"), r.e("components/courseList/courseList") ]).then(r.bind(null, "4b60"));
            }
        }, i = function() {
            this.$createElement;
            this._self._c;
        }, o = [];
    },
    "774e": function(t, e, r) {
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var n = r("26cb"), i = (s(r("03b8")), r("7960"), r("4771"), r("a71e")), o = r("b806"), a = r("8434"), u = r("9b04"), c = (r("db8f"), 
            s(r("801c")));
            function s(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            function l(t) {
                return function(t) {
                    if (Array.isArray(t)) return f(t);
                }(t) || function(t) {
                    if ("undefined" != typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t);
                }(t) || function(t, e) {
                    if (t) {
                        if ("string" == typeof t) return f(t, e);
                        var r = Object.prototype.toString.call(t).slice(8, -1);
                        return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? f(t, e) : void 0;
                    }
                }(t) || function() {
                    throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                }();
            }
            function f(t, e) {
                (null == e || e > t.length) && (e = t.length);
                for (var r = 0, n = new Array(e); r < e; r++) n[r] = t[r];
                return n;
            }
            function d(t, e) {
                var r = Object.keys(t);
                if (Object.getOwnPropertySymbols) {
                    var n = Object.getOwnPropertySymbols(t);
                    e && (n = n.filter(function(e) {
                        return Object.getOwnPropertyDescriptor(t, e).enumerable;
                    })), r.push.apply(r, n);
                }
                return r;
            }
            function p(t, e, r) {
                return e in t ? Object.defineProperty(t, e, {
                    value: r,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : t[e] = r, t;
            }
            var h = {
                computed: function(t) {
                    for (var e = 1; e < arguments.length; e++) {
                        var r = null != arguments[e] ? arguments[e] : {};
                        e % 2 ? d(Object(r), !0).forEach(function(e) {
                            p(t, e, r[e]);
                        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : d(Object(r)).forEach(function(e) {
                            Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e));
                        });
                    }
                    return t;
                }({}, (0, n.mapGetters)([ "configs", "user", "mainColor", "iphoneXStyle" ])),
                data: function() {
                    return {
                        cur: 0,
                        loadingOk: !1,
                        isRequest: !0,
                        dataNavs: [ {
                            id: 1,
                            name: "课程"
                        }, {
                            id: 2,
                            name: "简介"
                        } ],
                        dataInfo: {},
                        courseLists: {
                            data: [],
                            params: {
                                type: 4,
                                paddingLR: "0px"
                            }
                        },
                        page: 1,
                        pagesize: 10,
                        isBar: "",
                        scrollTop: 0,
                        criticalValue: 180,
                        isShow: !1,
                        leature: ""
                    };
                },
                onLoad: function(t) {
                    this.id = t.id, (0, i.isEmpty)(t.pid) || c.default.commit("config/SET_PID", t.pid), 
                    (0, i.isEmpty)(decodeURIComponent(t.scene).split("pid=")[1]) || c.default.commit("config/SET_PID", decodeURIComponent(t.scene).split("pid=")[1]), 
                    this.getDetail(), this.getList();
                },
                onShow: function() {
                    var t = this;
                    (0, o.init)(t).then(function(e) {
                        t.isBar = e;
                    });
                },
                onPageScroll: function(t) {
                    this.scrollTop = t.scrollTop;
                },
                methods: {
                    tab: function(t, e) {
                        this.cur = e;
                    },
                    ready: function() {},
                    goDetail: function(t) {
                        (0, a.route)({
                            url: "/course/course/courseDetails",
                            type: 1,
                            data: {
                                id: t.id
                            }
                        });
                    },
                    getDetail: function() {
                        var e = this, r = {
                            lecturer_id: this.id
                        };
                        (0, u.lecturer)(r).then(function(r) {
                            e.dataInfo = r, e.leature = r.name, t.setNavigationBarTitle({
                                title: r.name
                            }), e.isShow = !0;
                        });
                    },
                    getList: function() {
                        var e = this;
                        this.loadingOk = !1, this.isRequest = !1;
                        var r = {
                            page: this.page,
                            lecturer_id: this.id,
                            pagesize: this.pagesize
                        };
                        (0, u.lecturerCourse)(r).then(function(r) {
                            var n = e.courseLists.data, i = r.list;
                            n && 1 != e.page ? e.courseLists.data = [].concat(l(n), l(i)) : e.courseLists.data = i, 
                            t.stopPullDownRefresh(), e.loadingOk = !0, e.isRequest = 0 == e.courseLists.data.length, 
                            e.isShow = !0;
                        });
                    },
                    onShareAppMessage: function(t) {
                        var e = (0, i.isEmpty)(this.user.id) ? 0 : this.user.id, r = (0, i.isEmpty)(this.id) ? 0 : this.id;
                        return t.from, {
                            title: this.leature,
                            path: "/course/course/lecturer?id=" + r + "&pid=" + e
                        };
                    },
                    onShareTimeline: function() {
                        var t = (0, i.isEmpty)(this.user.id) ? 0 : this.user.id, e = (0, i.isEmpty)(this.id) ? 0 : this.id;
                        return {
                            title: this.leature,
                            query: "id=" + e + "&pid=" + t,
                            imageUrl: this.dataInfo.img
                        };
                    },
                    onReachBottom: function() {
                        if (1 == this.cur) return !1;
                        this.page++, this.getList();
                    }
                }
            };
            e.default = h;
        }).call(this, r("543d").default);
    },
    "91b1": function(t, e, r) {
        var n = r("c426");
        r.n(n).a;
    },
    c426: function(t, e, r) {}
}, [ [ "37fa", "common/runtime", "common/vendor" ] ] ]);